import {
    legacy_createStore as createStore,
    combineReducers,
    applyMiddleware
} from "redux"

import thunk from "redux-thunk"

import logger from "redux-logger"

import reducer from "./reducer/reducer"

const All_Reducer = combineReducers({
    reducer,
})

export default createStore(All_Reducer,applyMiddleware(thunk,logger))
